import request from "@/utils/request";

// 黑名单管理
export function fetchList(params) {
  return request({
    url: "/blacklists/index",
    method: "get",
    params
  });
}

export function exportExcel(params) {
  return request({
    url: "/blacklists/export",
    method: "get",
    params,
    responseType: "blob"
  });
}

export function getInfo(params) {
  return request({
    url: "/blacklists/read",
    method: "get",
    params
  });
}

export function postAudit(params) {
  return request({
    url: "/blacklists/audit",
    method: "get",
    params
  });
}
